import React from "react";
import {NavBar, Icon} from 'antd-mobile';

export default class Header extends React.Component{
  componentWillMount(){

  }
  render(){
    return (<header className={"header"}>
      <NavBar
          mode="dark"
          leftContent={[
            <Icon key="1" type="left"/>
          ]}
          rightContent={[
            <Icon key="1" type="ellipsis"/>,
          ]}
      >首页</NavBar>
      <div className={"head-div"}></div>
    </header>);
  }
}
